package com.zisu.aradvertising.repository;

import com.zisu.aradvertising.pojo.Video;
import com.zisu.aradvertising.pojo.business.VideoAndCreater;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface DaoVideoAndCreater extends JpaRepository<VideoAndCreater,Integer> {
    List<VideoAndCreater> findAllByCid(int cid);
}
